package cn.csust.net2.manager.shared.po;

import java.io.Serializable;
import java.util.Date;

import cn.csust.net2.manager.shared.vo.StateProperty;
import cn.csust.net2.manager.shared.vo.UserProperty;
import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;
public class Comprehensive extends PO implements Serializable,BeanModelTag, UserProperty, StateProperty,SchoolYearObj {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2702564730356086560L;

	private Integer comprehensiveID;
	private String schoolYear;
	private String semester;
	private String moral;
	private String intellectual;
	private String physical;
	private String plusPoints;
	private String minusPoints;
	private String comprehensiveAchievement;
	private String failedAcount;
	private String rank;
	private String state;
	private Date createDate;
	private String remark;
	
	private User user;
	
	public Comprehensive() {
		
	}
	
	public Integer getComprehensiveID() {
		return comprehensiveID;
	}

	public void setComprehensiveID(Integer comprehensiveID) {
		this.comprehensiveID = comprehensiveID;
	}

	public String getSchoolYear() {
		return schoolYear;
	}

	public void setSchoolYear(String schoolYear) {
		this.schoolYear = schoolYear;
	}

	public String getSemester() {
		return semester;
	}

	public void setSemester(String semester) {
		this.semester = semester;
	}

	public String getMoral() {
		return moral;
	}

	public void setMoral(String moral) {
		this.moral = moral;
	}

	public String getIntellectual() {
		return intellectual;
	}

	public void setIntellectual(String intellectual) {
		this.intellectual = intellectual;
	}

	public String getPhysical() {
		return physical;
	}

	public void setPhysical(String physical) {
		this.physical = physical;
	}

	public String getPlusPoints() {
		return plusPoints;
	}

	public void setPlusPoints(String plusPoints) {
		this.plusPoints = plusPoints;
	}

	public String getMinusPoints() {
		return minusPoints;
	}

	public void setMinusPoints(String minusPoints) {
		this.minusPoints = minusPoints;
	}

	public String getComprehensiveAchievement() {
		return comprehensiveAchievement;
	}

	public void setComprehensiveAchievement(String comprehensiveAchievement) {
		this.comprehensiveAchievement = comprehensiveAchievement;
	}

	public String getFailedAcount() {
		return failedAcount;
	}

	public void setFailedAcount(String failedAcount) {
		this.failedAcount = failedAcount;
	}

	public String getRank() {
		return rank;
	}

	public void setRank(String rank) {
		this.rank = rank;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public XmlInfo getXmlInfo(XmlResources instance) {
		// TODO Auto-generated method stub
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.comprehensive());
		return xmlInfo;
	}

	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return "综合评测";
	}

	@Override
	public void setYear(String year) {
		// TODO Auto-generated method stub
		this.setSchoolYear(year);
	}

}
